package com.martini.satoken01.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import java.time.LocalDateTime;

/**
 * @author martini at 2021/12/27 21:51
 */
@Data
@Accessors(chain = true)
public class SysMessageBoarder {
    @Id
    private Long id;
    private Long userId;
    @Column(name = "`left`")
    private Integer left;
    @Column(name = "`top`")
    private Integer top;
    private String content;
    private LocalDateTime createTime;

    /**
     * 固钉背景类型
     *
     * {@link com.martini.satoken01.enums.PinBackgroundTypes}
     */
    private Short pinBackgroundType;
    private String pinBackgroundColor;
    private String headerBackgroundColor;
    private String bodyBackgroundColor;
    private Boolean isDeleted;
}
